<?php
define("BASE_URL",'http://pun.vn/');
define("BASE_PATH", realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..'));
define("HOME","http://pun.vn/");
define("ADMIN","http://pun.vn/administrators");
define("IMAGE","http://pun.vn/upload/");

define("HEAD","KEME PROJECT IMAGE SHARING");
define("KEYWORD","KEME PROJECT IMAGE SHARING");
define("DES","PROJECT IMAGE SHARING KEME");

define("DB","manga24h_mk");
define("DBHOST",'203.162.53.70');
define("DBUSER",'mkremote');
define("DBPASS",'n75aqdjDLySNpaZQ');

define("FB_ID",'288109897980980');


define('LOAD_TIME', 5);
define('LOAD_ITEMS', 6);

define('IMAGE_ORIGINAL', 'original');
define('IMAGE_NEAR_BIG', '400');
define('IMAGE_BIG', '500');
define('IMAGE_MED', '250');
define('IMAGE_SMALL', '90x60');
define('IMAGE_URL','http://image.manga24h.com/pun/images/');
define('IMAGE_PICTURE','image/');
define('IMAGE_TEXT','text/');
define('AVATAR_DEFAULT','http://image.manga24h.com/uploaded/avatar.png');
define("AVATAR", IMAGE_URL . 'avatar/');
define('R_IMAGE_URL', 'http://image.manga24h.com/pun/images/');

define("USER_ACTIVE",'1');
define('CACHE_PATH', $_SERVER['DOCUMENT_ROOT'].'/cache');
define('HOIDAP', 'http://pun.vn/hoi-dap/');
define('HOIDAP_UP', 'http://pun.vn/hoi-dap/upload/');
define('UPLOAD', 'http://pun.vn/user/upload');

define('LOGIN', 'http://pun.vn/index.php?module=user&act=login');
define('LOGINFACEBOOK', 'http://pun.vn/index.php?module=user&act=login_facebook');
define('LOGOUTFACEBOOK', 'http://pun.vn/index.php?module=user&act=facebooklogout');
define('FACEBOOK_ACCOUNT', 'http://pun.vn/index.php?module=user&act=facebook_account');
define('REGISTER', 'http://pun.vn/index.php?module=user&act=register');
define('USER_INFO', 'http://pun.vn/user/thongtin');
define('USER_CHANGEPASSWORD', 'http://pun.vn/user/changepassword');
define('USER_UPDATE_INFO', 'http://pun.vn/user/capnhatthongtin');
define('USER_FORGETPASSWORD', 'http://pun.vn/index.php?module=user&act=forgetpassword');
define('LOGOUT', 'http://pun.vn/index.php?module=user&act=logout');
define('LOGOUT2', 'http://pun.vn/index.php?module=user&act=logout2');

define('CLUB', 'http://pun.vn/index.php?module=user&act=club');
define('IMAGE_DEFAULT_ALBUM', 'http://img.youtube.com/vi/zoKj7TdJk98/0.jpg');

if($_SESSION['mobile']==0){
	//PC
define('M_WIDTH',250);
}
if($_SESSION['mobile']==1){
	//Mobile 
define('M_WIDTH',150);
}
if($_SESSION['mobile']==2){
	//Tablet
define('M_WIDTH',200);
}